include(GoogleTest)

add_executable(ta_dyn_client_pin_auth_test src/client_pin_auth_test.cpp)

target_include_directories(ta_dyn_client_pin_auth_test PRIVATE inc)
target_include_directories(ta_dyn_client_pin_auth_test PRIVATE ${SE_BASE_SERVICES_DEFAULT_INC})
target_compile_options(ta_dyn_client_pin_auth_test PRIVATE ${SE_BASE_SERVICES_DEFAULT_CC})
target_link_libraries(ta_dyn_client_pin_auth_test PRIVATE client_pin_auth_so)
target_link_libraries(ta_dyn_client_pin_auth_test PRIVATE securec)
target_link_libraries(ta_dyn_client_pin_auth_test PRIVATE tee_dyn_test_mocks)
target_link_libraries(ta_dyn_client_pin_auth_test PRIVATE GTest::gmock_main)

gtest_discover_tests(ta_dyn_client_pin_auth_test)
